public class IntegerTest {
    public static void main(String[] args) {
        Integer i = 0;

        String str = "123";
        int i1 = Integer.parseInt(str);
        System.out.println(i1);
    }
}
